package com.fenghen.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fenghen.common.annotation.Excel;
import com.fenghen.common.core.domain.BaseEntity;

/**
 * 风险报告模块对象 risk_report
 * 
 * @author fenghen
 * @date 2024-11-06
 */
public class RiskReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long reportId;

    /** 报告生成日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报告生成日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportDate;

    /** 总风险数量 */
    @Excel(name = "总风险数量")
    private Long totalRisks;

    /** 高风险数量 */
    @Excel(name = "高风险数量")
    private Long highRisks;

    /** 中风险数量 */
    @Excel(name = "中风险数量")
    private Long mediumRisks;

    /** 低风险数量 */
    @Excel(name = "低风险数量")
    private Long lowRisks;

    /** 报告备注信息 */
    @Excel(name = "报告备注信息")
    private String remarks;

    public void setReportId(Long reportId) 
    {
        this.reportId = reportId;
    }

    public Long getReportId() 
    {
        return reportId;
    }

    public void setReportDate(Date reportDate) 
    {
        this.reportDate = reportDate;
    }

    public Date getReportDate() 
    {
        return reportDate;
    }

    public void setTotalRisks(Long totalRisks) 
    {
        this.totalRisks = totalRisks;
    }

    public Long getTotalRisks() 
    {
        return totalRisks;
    }

    public void setHighRisks(Long highRisks) 
    {
        this.highRisks = highRisks;
    }

    public Long getHighRisks() 
    {
        return highRisks;
    }

    public void setMediumRisks(Long mediumRisks) 
    {
        this.mediumRisks = mediumRisks;
    }

    public Long getMediumRisks() 
    {
        return mediumRisks;
    }

    public void setLowRisks(Long lowRisks) 
    {
        this.lowRisks = lowRisks;
    }

    public Long getLowRisks() 
    {
        return lowRisks;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reportId", getReportId())
            .append("reportDate", getReportDate())
            .append("totalRisks", getTotalRisks())
            .append("highRisks", getHighRisks())
            .append("mediumRisks", getMediumRisks())
            .append("lowRisks", getLowRisks())
            .append("remarks", getRemarks())
            .toString();
    }
}
